package cn.bluemobi.dylan.step.di.component;


import javax.inject.Singleton;

import cn.bluemobi.dylan.step.app.App;
import cn.bluemobi.dylan.step.di.module.AppModule;
import cn.bluemobi.dylan.step.moder.db.RealmHelper;
import cn.bluemobi.dylan.step.moder.prefs.SharedPreferencesHelper;
import dagger.Component;

/**
 * Created by $Liudan on 2018/8/7 0007.
 */
@Singleton
@Component(modules = {AppModule.class})
public interface AppComponent {

    App getContext(); // 提供App的Context
    SharedPreferencesHelper sharedPreferencesHelper();
    RealmHelper realmHelper();    //提供数据库帮助类
}
